package com.mingqijia.gassafety.db.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-11
 */

@Data
public class DeviceStateVO {
    /**
     * 设备ID
     */
    private String equipmentId;
    /**
     * 设备号
     */
    private String imei;
    /**
     * 设备名称
     */
    private String equipmentName;
    /**
     * 设备类型
     */
    private String equipmentType;
    /**
     * 设备位置
     */
    private String installationPosition;
    /**
     * 客户id
     */
    private Integer consumerId;
    /**
     * 户名
     */
    private String custName;
    /**
     * 户号
     */
    private String subsCode;
    /**
     * 户址
     */
    private String custAddress;
    /**
     * 户主手机号
     */
    private String custPhone;
    /**
     * 行业类型
     */
    private String industryType;
    /**
     * 组织编码
     */
    private String orgCode;
    /**
     * 设备状态 0:离线 1:正常 2:低报 3:高报 4:故障
     */
    private Integer equipmentStatus;
    /**
     * 设备状态说明
     */
    private String equipmentStatusInfo;
    /**
     * 信号情况
     */
    private Integer signal;
    /**
     * 最近一次上报时间
     */
    private Date latestTime;
    /**
     * 主电电量百分比
     */
    private Integer mainBatteryValue;
    /**
     * 浓度值
     */
    private Integer concentration = 0;

    private String spId;

    //探测器总数
    private Integer detectorCount;
    /**
     * 协议版本号
     */
    private String protocolVersion;

    private String installationAddress;

    private String memberId;

    private String contactPhone;

    private String contactName;

    private Integer workOrderCount;

    private Double positionLon;

    private Double positionLat;

    private String equipmentManufacturer;

    private String equipmentModel;

    private Integer receiverStatus;
    private Integer batteryStatus;
    private Integer valveStatus;
    private Integer brokenStatus;
    private String brokenStatusInfo;

    private String appSite;

    /**
     * 与设备绑定的电磁阀id
     */
    private Integer valveInfoId;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "用户类型")
    private String custType;

    @ApiModelProperty(value = "检测类型")
    private String detectionType;

    @ApiModelProperty(value = "经纬度")
    private String lonLat;

    @ApiModelProperty(value = "通讯方式")
    private String communicationMode;
    @ApiModelProperty(value = "运营商")
    private String operators;

    @ApiModelProperty(value = "企业路径")
    private String path;
    @ApiModelProperty(value = "20位数字")
    private String iccid;

    @ApiModelProperty(value = "客户地址")
    private String customerAddress;

}
